#include<stdio.h>

FILE *freopen(const char *path,const char *mode,FILE *f)
{
    if(f)
        fclose(f);
    return fopen(path,mode);
}


